package com.oop.demo03;

//Java中所有的类，都默认直接或间接继承自Object类
public class Person {
    public Person() {
        System.out.println("Person无参构造已执行");
    }

    protected  String  name = "lishizheng";
    public void print(){
        System.out.println("printPerson");
    }

}
